package com.jetgege.smartbox.Model;

import java.util.List;

/**
 * Created by JJT-ssd on 2017/4/28.
 */

public class DeviceModel {

    private String deviceName;
    private String deviceID;
    private int userType;//用户类型 ：1-管理员， 2-普通用户
    private boolean isConnect;//连接状态 true-已连接， false-未连接
    private String userId;//用户id(电话)

    public boolean isConnect() {return isConnect;}
    public void setConnect(boolean connect) {isConnect = connect;}

    public String getUserId() {return userId;}
    public void setUserId(String userId) {this.userId = userId;}

    public int getUserType() {return userType;}
    public void setUserType(int userType) {this.userType = userType;}

    public String getDeviceID() {
        return deviceID;
    }
    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getDeviceName() {return deviceName;}
    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }



    public List<UserModel> getUserModels() {return userModels;}
    public void setUserModels(List<UserModel> userModels) {
        this.userModels = userModels;
    }
    private List<UserModel> userModels;


}
